package com.icloud.system.boot.model;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

@Getter
@Setter
@TableName("home_browsed")
@ApiModel(value = "HomeBrowsed对象", description = "主页浏览记录表")
public class HomeBrowsed implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("创建时间")
    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @ApiModelProperty("客户Id")
    @TableField("customer_id")
    private Long customerId;

    @ApiModelProperty("浏览人Id")
    @TableField("browser_id")
    private Long browserId;
}
